import org.junit.Test;

public class StaticTest {
    @Test
    public void testStatic() {
        System.out.println(Chinese.nation);
        System.out.println(GDness.nation);
        GDness.func();
    }


}

class GDness extends Chinese {
    public static void func() {
        System.out.println("2");
    }
}

class Chinese {
    public static String nation = "China";

    public static void func() {
        System.out.println("1");
    }
}